x11: Avoid setting has_pointer_focus if a EWMH compliant WM is present
authorCarlos Garnacho <carlosg@gnome.org>
Fri, 12 Feb 2016 20:59:29 +0000 (21:59 +0100)
committerCarlos Garnacho <carlosg@gnome.org>
Fri, 12 Feb 2016 21:05:30 +0000 (22:05 +0100)
commitd55b8151f27857ff4663ce05cbf6636b5ae50a02
tree63423b97d2e23a8c82e5b0ce0a420f8250b16463
parent48d7219296084e73adcde7b09a8e550d7323deb7
x11: Avoid setting has_pointer_focus if a EWMH compliant WM is present

This is mostly useful to have focus behave sanely on lack of WM, so avoid
any check there if we're positive there is a WM handling focus.

https://bugzilla.gnome.org/show_bug.cgi?id=677329
gdk/x11/gdkdevicemanager-core-x11.c
gdk/x11/gdkeventsource.c